package com.klondike.common;

public class ImmutableSimpleEntry<E1, E2> extends SimpleEntry<E1, E2> {
    private static final long serialVersionUID = -4925750959068393120L;

    public ImmutableSimpleEntry(E1 key, E2 value) {
        super(key, value);
    }

    public E2 setValue(E2 value) {
        throw new UnsupportedOperationException("value can not be change (immutable entry)");
    }
}
